<template>
  <div>
    <el-input type="textarea" v-model="localValue" v-bind="$attrs"></el-input>
  </div>
</template>
<script>
export default {
    name:'textarea',
    props:{
        value:'',
        autosize:{}
    },
    computed: {
    localValue: {
      get() {
        if (this.value) {
          return this.value 
        } else {
          return  '' 
        }
      },
      set(val) {
        this.$emit("input", val)
      },
    },
  },
    mounted(){
        console.log(this.$attrs,'ext-input-textarea')
    }
}
</script>